

using Unity.Entities;
/// <summary>
/// 用特性GenerateAuthoringComponent标记，
/// 可以将该Entity组件像MonoBehaviour一样挂在GameObject上
/// 前提是该GameObject要转化为Entity
/// </summary>
[GenerateAuthoringComponent]
public struct RotateSpeedComponet : IComponentData
{
    /// <summary>
    /// --每秒旋转的弧度
    /// </summary>
    public float RadiansPerSecond;
}

